package com.ruoyi.goods.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.goods.domain.Category;
import org.apache.ibatis.annotations.Param;

/**
 * 物品分类信息Mapper接口
 *
 * @author yeqi
 * @date 2022-11-27
 */
public interface CategoryMapper extends BaseMapper<Category> {

  /**
   * 查询物品分类信息列表
   *
   * @param category 物品分类信息
   * @return 物品分类信息集合
   */
  public List<Category> selectCategoryList(Category category);



  List<Category> selectByParentId(@Param("id")  Long parentId);

  Category getByParentId(Long parentId);

    List<Category> selectByBusiPath(String busiPath);

  int selectGoodsByCategoryBuisPath(String busiPath);


}
